var oi = document.getElementsByClassName('fa fa-times-circle-o');
for(var i = 0; i < lists.length; i++){
    oi[i].onclick = function(){
            this.parentNode.parentNode.parentNode.remove();
        }
}